package com.jiyun.controller;

import com.jiyun.pojo.Configuration;
import com.jiyun.service.ConfigurationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @author: 刘清芳
 * @description: 积分配置
 * @date: 2024/1/4 19:03
 */
@RestController
@RequestMapping("configuration")
public class ConfigurationController {
    @Autowired
     ConfigurationService configurationService;
    @GetMapping("/findAll")
    public List<Configuration>findAll(){
        return configurationService.findAll();
    }

}
